<extend name="Layout/main" />
<block name="css">
<link rel="stylesheet" type="text/css" href="{:H('assets/plugins/datepicker/datepicker3.css')}" media="all" />
</block>
<block name="style"></block>
<block name="js">
<script type="text/javascript" src="{:H('assets/plugins/datepicker/bootstrap-datepicker.js')}"></script>
</block>
<block name="script">
<script type="text/javascript">
$(function(){
	$('[rel-action=datepicker]').datepicker({
		format:'yyyy-mm-dd',
		todayBtn:true,
		todayHighlight:true,
		autoclose: true,
	});
});
</script>
</block>
<block name="model">合同管理</block>
<block name="controller">合同管理</block>
<block name="action">合同管理</block>
<block name="desc"></block>
<block name="content">
<div class="box box-primary">
	<div class="box-header with-border">
		<h3 class="box-title">记录筛选</h3>
	</div>
	<div class="box-body table-responsive">
		<form class="form-horizontal" method="get">
		<div class="box-body">
			<div class="form-group">
				<label class="col-sm-2 control-label">支付完成日期</label>
				<div class="col-sm-2">
					<input type="text" class="form-control" rel-action="datepicker" name="start_time" placeholder="请输入支付完成日期"  autocomplete="off">
				</div>
				<div class="col-sm-2">
					<input type="text" class="form-control" rel-action="datepicker" name="end_time" placeholder="请输入支付完成日期"  autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">姓名</label>
				<div class="col-sm-4">
					<input type="text" class="form-control" name="name" value="{$data.contract_name}" placeholder="请输入姓名"  autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">身份证号</label>
				<div class="col-sm-4">
					<input type="text" class="form-control" name="cardid" value="{$data.contract_cardid}" placeholder="请输入身份证号"  autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">合同编号</label>
				<div class="col-sm-4">
					<input type="text" class="form-control" name="number" value="{$data.contract_number}" placeholder="请输入合同编号"  autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">微信支付单号</label>
				<div class="col-sm-4">
					<input type="text" class="form-control" name="transaction_id" value="{$data.contract_transaction_id}" placeholder="请输入微信支付单号"  autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">支付状态</label>
				<div class="col-sm-10">
					<select class="form-control" rel-action="select" name="status">
						<option value="all">所有</option>
						<foreach name="data.status_list" item="item" >
						<option value="{$key}">{$item}</option>
						</foreach>
					</select>
				</div>
			</div>
		<div class="box-footer">
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" class="btn btn-default">查询</button>
			</div>
		</div>
		</form>
	</div>
</div>
</block>